package com.wef.system.service;

import java.util.List;
import java.util.Set;

import com.gfa4j.service.BaseService;
import com.wef.system.entity.User;

/**
 * @FileName UserServiceImpl.java
 * @Summary  功能描述：
 * @Author   KOO
 * @Version  1.0
 * @Date     2009/07/31
 * @example  使用示例：略。
 */

public interface UserService extends BaseService {
	
	public User addUser(User user);
	
	public User updateUser(User user);
	
	public void deleteUser(User user);
	
	public User saveOrUpdateUser(User user);	

	public Set<User> saveOrUpdateUsers(Set<User> users);
	
	public List<User> findUserRoleList(String userId);
	
	public Set<User> saveOrUpdateUserWithRole(Set<User> users);
	
	public boolean validateUserCodeExist(String userCode);
	
}
